package com.canyou.activiti.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 历史任务
 *
 * @author fy
 * @date 2021/3/4 10:41
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "ActHistoryVO", description = "历史任务实体模型")
public class ActHistoryVO {

    @ApiModelProperty(value = "任务id")
    private String id;

    @ApiModelProperty(value = "任务名称")
    private String name;

    @ApiModelProperty(value = "任务创建时间")
    private Date createTime;

    @ApiModelProperty(value = "任务开始时间")
    private Date startTime;

    @ApiModelProperty(value = "任务结束时间")
    private Date endTime;

    @ApiModelProperty(value = "任务拾取时间")
    private Date claimTime;

    @ApiModelProperty(value = "流程实例名称")
    private String processInstanceName;

    @ApiModelProperty(value = "流程定义key")
    private String processDefinitionKey;

    @ApiModelProperty(value = "办理人")
    private String assignee;

    @ApiModelProperty(value = "任务描述")
    private String description;

}
